package com.heima.common.thread;

import com.heima.model.media.pojos.WmUser;

public class MyThreadLocal {

    private static ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void set(String userId){
        threadLocal.set(userId);
    }

    public static String get(){
        return threadLocal.get();
    }

    public static void remove(){
        threadLocal.remove();
    }
}
